package com.demo.service;

import java.util.List;

public interface BaseService<T> {
	public void save(T t);

	public void update(T t);
	
	public int delete(String id);
	
	public T get(String id);
	
	public List<T> query();
	
	public List<T> query(String hql);
	
}
